package org.hive.vmware.client.service;

import java.util.List;

import org.hive.vmware.client.model.VmCenterServerTreeFolder;
import org.hive.vmware.client.model.VmCenterServerVO;
import org.hive.vmware.client.model.VmGroupingVO;
import org.hive.vmware.client.model.VmVO;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("view")
public interface VmwareService extends RemoteService {
	List<VmCenterServerVO> loadVmCenterServers();
	boolean saveVmCenterServers(List<VmCenterServerVO> vmCenterServerVOs);
	VmCenterServerTreeFolder loadVmCenterFolder();
	VmGroupingVO loadVmGrouping();
	boolean saveVmGrouping(VmGroupingVO groupingVO);
	boolean revertVms(List<VmVO> vms);
}
